import java.io.Serializable;

public class Student implements Serializable {
     private  String name;
     private  Long id;
     private  Integer age;
     private  String gradeName;

     public Student(){

     }
     public Student(Long id,String name,Integer age,String gradeName){
         this.name = name;
         this.age = age;
         this.id = id;
         this.gradeName = gradeName;
     }

    @Override
    public String toString() {
        return "Student{" +
                ",id=" + id +
                ",name='" + name +
                ", age=" + age +
                ", gradeName='" + gradeName +
                '}';
    }

    public String getName() {return name;}

    public void setName(String name) {this.name = name;}

    public Long getId() {return id;}

    public void setId(Long id) {this.id = id;}

    public Integer getAge() {return age;}

    public String getGradeName() {return gradeName;}

    public void setGradeName(String gradeName) {this.gradeName = gradeName;}

    public void setAge(Integer age) {this.age = age;}
}
